package com.yao.dubboprovider.registry;

/**
 * 注册服务的接口
 * @author Henry Yao
 * @date 2021/5/3
 */
public interface RegistryCenter {
    /**
     * 注册服务
     * @param serviceName 服务名
     * @param address 提供者主机地址
     */
    void registryService(String serviceName,String address) throws Exception;
}
